{% load i18n %}
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Recently added datasets</title>
<subtitle>Datasets recently added to the catalog</subtitle>
<link href="{{site_base_url}}/feeds/data/" rel="self" />
<updated>{{ last_updated }}</updated>
	<author>
	<name>Site author</name>
	<uri>{{site_base_url}}</uri>
	</author>
<id>http://www.example.com/feeds/data/</id>
{% for item in datasets %}
<entry>
    <title>{{item.name}} {% trans "from" %} {{item.organization.name}}</title>
    <link href="{{site_base_url}}{{item.get_absolute_url}}" />
	<id>{{site_base_url}}{{item.get_absolute_url}}</id>
    <link rel="alternate" href="{{site_base_url}}{{item.get_absolute_url}}rdf/" type="application/rdf+xml" />
	<updated>{{item.submit_date|date:"Y-m-d\TH:i:s\+01\:00"}}</updated>
	<content type="html"><![CDATA[{{item.description|safe}}]]></content>
    {% for topic in item.topics.all %}
    <category term="{{topic.name}}" label="{{topic.name}}" />{% endfor %}
</entry>
{% endfor %}
</feed>
